package com.bw.doctor.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
//尚-(私人医生)-问诊记录
@Data
public class ConsultationRecord {

/**
* 主键自增
**/
  private long consultationRecordId;
/**
* 和患者表有外键关联
**/
  private long patientId;
/**
* 时间
**/
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date time;
/**
* 病情描述
**/
  private String diseaseDescription;
/**
* 患病时长
**/
  private String durationOfIllness;
/**
* 就诊情况
**/
  private String medicalTreatmentSituation;
/**
* 图片
**/
  private String picture;


  public long getConsultationRecordId() {
    return consultationRecordId;
  }

  public void setConsultationRecordId(long consultationRecordId) {
    this.consultationRecordId = consultationRecordId;
  }


  public long getPatientId() {
    return patientId;
  }

  public void setPatientId(long patientId) {
    this.patientId = patientId;
  }


  public Date getTime() {
    return time;
  }

  public void setTime(Date time) {
    this.time = time;
  }


  public String getDiseaseDescription() {
    return diseaseDescription;
  }

  public void setDiseaseDescription(String diseaseDescription) {
    this.diseaseDescription = diseaseDescription;
  }


  public String getDurationOfIllness() {
    return durationOfIllness;
  }

  public void setDurationOfIllness(String durationOfIllness) {
    this.durationOfIllness = durationOfIllness;
  }


  public String getMedicalTreatmentSituation() {
    return medicalTreatmentSituation;
  }

  public void setMedicalTreatmentSituation(String medicalTreatmentSituation) {
    this.medicalTreatmentSituation = medicalTreatmentSituation;
  }


  public String getPicture() {
    return picture;
  }

  public void setPicture(String picture) {
    this.picture = picture;
  }

}
